import React from 'react';
import ReactDOM from 'react-dom';
import App from './App';
import {Provider} from "react-redux"
import store from "./store"
import 'antd/dist/antd.min.css'  //fix warning


window.onerror = function(e) {
  if(e.match("Uncaught Error: Unexpected usage")) {
    console.log("catch")
    return true;
  }
  else return false;
}


ReactDOM.render(
  <Provider store={store}>
    <App/>
  </Provider>,
  document.getElementById('root')
);

